@include("admin.header")
<body>
<div class="x-body layui-anim layui-anim-up">
    <blockquote class="layui-elem-quote">欢迎管理员：
        <span class="" style="color: lightcoral;">{{Cookie::get("name")}}</span>！当前时间:&nbsp;&nbsp;&nbsp;&nbsp;<span class="time">{{date("Y-m-d H:i:s",time())}}</span></blockquote>
    <fieldset class="layui-elem-field">
        <legend>快捷管理</legend>
        <div class="layui-field-box">
            <div class="layui-col-md12">
                <div class="layui-card">
                    <div class="layui-card-body">
                        <div class="layui-carousel x-admin-carousel x-admin-backlog" lay-anim="" lay-indicator="inside" lay-arrow="none" style="width: 100%; height: 90px;">
                            <div carousel-item="">
                                <ul class="layui-row layui-col-space10 layui-this">
                                    <li class="layui-col-xs2">
                                        <a href="/admin/good_list" class="x-admin-backlog-body">
                                            <h3>管理商品</h3>
                                            <p style="text-align: center;">
                                                <cite><i class="layui-icon" style="font-size: 28px;">&#xe698;</i></cite>
                                            </p>
                                        </a>
                                    </li>
                                    <li class="layui-col-xs2">
                                        <a href="/admin/order_list" class="x-admin-backlog-body">
                                            <h3>管理订单</h3>
                                            <p style="text-align: center;">
                                                <cite><i class="layui-icon" style="font-size: 35px;">&#xe62d;</i></cite>
                                            </p>
                                        </a>
                                    </li>
                                    <li class="layui-col-xs2">
                                        <a href="/admin/link_list" class="x-admin-backlog-body">
                                            <h3>管理连接</h3>
                                            <p style="text-align: center;">
                                                <cite><i class="layui-icon" style="font-size: 28px;">&#xe66e;</i></cite>
                                            </p>
                                        </a>
                                    </li>
                                    <li class="layui-col-xs2">
                                        <a href="/admin/nav_list" class="x-admin-backlog-body">
                                            <h3>管理导航</h3>
                                            <p style="text-align: center;">
                                                <cite><i class="layui-icon" style="font-size: 28px;">&#xe62a;</i></cite>
                                            </p>
                                        </a>
                                    </li>
                                    <li class="layui-col-xs2">
                                        <a href="/admin/user_list" class="x-admin-backlog-body">
                                            <h3>管理会员</h3>
                                            <p style="text-align: center;">
                                                <cite><i class="layui-icon" style="font-size: 28px;">&#xe770;</i></cite>
                                            </p>
                                        </a>
                                    </li>
                                    <li class="layui-col-xs2">
                                        <a href="/admin/banner_list" class="x-admin-backlog-body">
                                            <h3>广告图</h3>
                                            <p style="text-align: center;">
                                                <cite><i class="layui-icon" style="font-size: 28px;">&#xe64a;</i></cite>
                                            </p>
                                        </a>
                                    </li>
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </fieldset>
    <fieldset class="layui-elem-field">
        <legend>系统信息</legend>
        <div class="layui-field-box">
            <table class="layui-table">
                <tbody>
                <th>服务器地址</th>
                <td>http://apdream.cn</td></tr>
                <tr>
                    <th>操作系统</th>
                    <td>Linix</td></tr>
                <tr>
                    <th>运行环境</th>
                    <td>Nginx 1.20.1</td></tr>
                <tr>
                    <th>PHP版本</th>
                    <td>PHP-7.4</td></tr>
                <tr>
                    <th>PHP运行方式</th>
                    <td>cgi-fcgi</td></tr>
                <tr>
                    <th>MYSQL版本</th>
                    <td>5.6.50</td></tr>
                </tbody>
            </table>
        </div>
    </fieldset>
    <fieldset class="layui-elem-field">
        <legend>开发团队</legend>
        <div class="layui-field-box">
            <table class="layui-table">
                <tbody>
                <tr>
                    <th>开发团队</th>
                    <td>黎明友 江键 郑伟军 庄军 陆剑</td></tr>
                </tbody>
            </table>
        </div>
    </fieldset>
    <blockquote class="layui-elem-quote layui-quote-nm">感谢layui,,Jquery,本系统由Furni—Admin提供技术支持。</blockquote>
</div>

</body>
<script>
    function getCurTime(){
        var date = new Date;
        var year = date.getFullYear();
        var month = date.getMonth()+1;
        if (month < 10) {
            month = "0" + month;
        }
        var day = date.getDate();
        if (day < 10) {
            day = "0" + day;
        }
        var hour = date.getHours();
        if (hour < 10) {
            hour = "0" + hour;
        }
        var min = date.getMinutes();
        if (min < 10) {
            min = "0" + min;
        }
        var second = date.getSeconds();
        if (second < 10) {
            second = "0" + second;
        }
        var str = year + "-" + month + "-" + day + " " + hour + ":" + min + ":" + second;
        return str;
    }
    setInterval(function(){
        // console.log(getCurTime());
        $(".time").html(getCurTime());
    },1000);
</script>
</html>